import { createPinia } from "pinia"; 
//引入持久化插件
import persist from "pinia-plugin-persistedstate";
//创建pinia实例
const pinia = createPinia();
pinia.use(persist)

//按需导出
export { pinia }

//将userUserStore模块导入
import { useUserStore } from "./modules/user";

//导出userUserStore模块
export { useUserStore }

//将useConsultStore模块导入
import { useConsultStore } from "./modules/consults";
//导出useConsultStore模块
export { useConsultStore }